import "../../io.dart";

/// Gets the [Codeship](https://codeship.com) configuration parameters from the specified environment.
Configuration getConfiguration(Map<String, String> env) => Configuration({
      "commit_sha": env["CI_COMMIT_ID"],
      "git_committer_email": env["CI_COMMITTER_EMAIL"],
      "git_committer_name": env["CI_COMMITTER_NAME"],
      "git_message": env["CI_COMMIT_MESSAGE"],
      "service_job_id": env["CI_BUILD_NUMBER"],
      "service_name": "codeship"
    });
